home *** CD-ROM | disk | FTP | other *** search
/ Stone Design / Stone Design.iso / Stone_Friends / Wave / WavesWorld / Source / Shaders / TexturingAndModeling:AProceduralApproach / KMShaders / venus.rib < prev   
Encoding:
Text File  |  1995-03-22  |  912 b   |  42 lines

  1. # modified by wave to reflect new shader names
  2. #
  3. # venus.rib
  4. #
  5. # Test file for the venus.sl shader.  See pp. 277-279.
  6. #
  7. # Reference:
  8. #    _Texturing and Modeling: A Procedural Approach_, by David S. Ebert, ed.,
  9. #    F. Kenton Musgrave, Darwyn Peachey, Ken Perlin, and Steven Worley.
  10. #    Academic Press, 1994.  ISBN 0-12-228760-6.
  11. #
  12.  
  13. version 3.03
  14. ShadingRate 0.25
  15. Display "venus.tif" "file" "rgb"
  16. Format 256 256 -1
  17.  
  18. Projection "perspective" "fov" 35
  19. Rotate -90 1 0 0
  20. Translate 0 -5 0
  21.  
  22. WorldBegin
  23.  
  24.   LightSource "ambientlight" 1 "intensity" [0.025]
  25.   LightSource "distantlight" 2 "from" [1.3 2 .1] "to" [0 0 0]
  26.  
  27.   AttributeBegin
  28.     Declare "pswidth" "float"
  29.     Declare "frequency" "float"
  30.     Surface "LGStarField" "pswidth" .25 "frequency" 3 "intensity" 2
  31.     Sphere 100 -100 100 360
  32.   AttributeEnd
  33.  
  34.   AttributeBegin
  35.     Surface "KMVenus"
  36.     Color [.7 .7 .5]
  37.     Sphere 1 -1 1 360
  38.   AttributeEnd
  39.  
  40. WorldEnd
  41.